home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 2347 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: merle.acns.nwu.edu!judd
  2. From: judd@merle.acns.nwu.edu (Stephen Judd)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: JiffyDOS problem!
  5. Date: 19 Feb 1996 21:40:57 GMT
  6. Organization: Northwestern University, Evanston IL
  7. Message-ID: <4gaqp9$o55@news.acns.nwu.edu>
  8. References: <4g98cb$b8i@news.telia.se>
  9. Reply-To: sjudd@nwu.edu (Stephen Judd)
  10. NNTP-Posting-Host: merle.acns.nwu.edu
  11.  
  12. In article <4g98cb$b8i@news.telia.se>,
  13. Magnus Nyman  <magnus.q.nyman@telia.se> wrote:
  14. >I friend of mine discovered a strange thing in his JiffyDOS. When Jiffy 
  15. >loads the direcory (@$) it uses the vector bb/bc as a pointer to a 
  16. >temporary buffer. Normally $9f01. The system uses the same vector as a 
  17. >temporary storage for filenames after loading. (/,%,=A3... etc). 
  18. >Load a ML-file from $1000 to $cfff, show the dir, and a part of your code 
  19. >is corruptet!
  20.  
  21. I too discovered this while working on Polygonamy.  I believe the filename
  22. is stored right below $A000, maybe just in the BASIC string buffer.  It
  23. took me a little while to figure out why the program suddenly starting
  24. crashing :).  To get around it I simply loaded the code that would be
  25. affected last, i.e. the code was in several sections, and the part that
  26. went through $A000 got loaded last.  Otherwise I got a filename stuck
  27. into my code.
  28.  
  29. But as you point out code can easily get overwritten in some of these
  30. areas.  I think it would be very helpful to know what extra areas of
  31. memory JiffyDOS uses (maybe it's already in the manual?).
  32.  
  33.     evetS-
  34.  
  35. >//Magnus
  36.